.class public Lcom/example/m6wmr/ShopinActivity;
.super Landroid/app/Activity;
.source "ShopinActivity.java"


# instance fields
.field UppicPath:Ljava/lang/String;

.field private addphoto:Landroid/widget/ImageView;

.field private attrid:Ljava/lang/String;

.field private context:Landroid/content/Context;

.field private et_name:Landroid/widget/EditText;

.field private et_phone:Landroid/widget/EditText;

.field private et_shopaddr:Landroid/widget/EditText;

.field private et_shopname:Landroid/widget/EditText;

.field private h:Landroid/os/Handler;

.field imglogo:Ljava/lang/String;

.field private imgurl:Ljava/lang/String;

.field is_pass:Ljava/lang/String;

.field private is_shot:Z

.field private iv_sure:Landroid/widget/ImageView;

.field line:Landroid/view/View;

.field private list:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/SpinnerData;",
            ">;"
        }
    .end annotation
.end field

.field private m:Lmyapp/MyApp;

.field private phone:Ljava/lang/String;

.field private pwd:Ljava/lang/String;

.field private shopaddr:Ljava/lang/String;

.field private shoplogo:Landroid/widget/ImageView;

.field private shopname:Ljava/lang/String;

.field private shopphone:Ljava/lang/String;

.field private sp4:Landroid/widget/Spinner;

.field private time:Landroid/widget/TextView;

.field private time1:Landroid/widget/TextView;

.field private time2:Landroid/widget/TextView;

.field private tv_phone:Landroid/widget/TextView;

.field private uid:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 57
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 64
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->UppicPath:Ljava/lang/String;

    .line 75
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->shopphone:Ljava/lang/String;

    .line 57
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/ShopinActivity;)Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 71
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->et_name:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$1(Lcom/example/m6wmr/ShopinActivity;)Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 71
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->et_phone:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$10(Lcom/example/m6wmr/ShopinActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 69
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->phone:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$11(Lcom/example/m6wmr/ShopinActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 69
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->shopname:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$12(Lcom/example/m6wmr/ShopinActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 69
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->shopaddr:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$13(Lcom/example/m6wmr/ShopinActivity;)Landroid/widget/ImageView;
    .locals 1

    .prologue
    .line 63
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->shoplogo:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$14(Lcom/example/m6wmr/ShopinActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 67
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->time1:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$15(Lcom/example/m6wmr/ShopinActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 67
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->time2:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$16(Lcom/example/m6wmr/ShopinActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 67
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->tv_phone:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$17(Lcom/example/m6wmr/ShopinActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 75
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->shopphone:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$18(Lcom/example/m6wmr/ShopinActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 72
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->list:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$19(Lcom/example/m6wmr/ShopinActivity;)Landroid/widget/Spinner;
    .locals 1

    .prologue
    .line 65
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->sp4:Landroid/widget/Spinner;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/m6wmr/ShopinActivity;)Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 71
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->et_shopname:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$20(Lcom/example/m6wmr/ShopinActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 69
    iput-object p1, p0, Lcom/example/m6wmr/ShopinActivity;->pwd:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$21(Lcom/example/m6wmr/ShopinActivity;)Landroid/os/Handler;
    .locals 1

    .prologue
    .line 60
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->h:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$22(Lcom/example/m6wmr/ShopinActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 69
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->pwd:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$23(Lcom/example/m6wmr/ShopinActivity;)Z
    .locals 1

    .prologue
    .line 66
    iget-boolean v0, p0, Lcom/example/m6wmr/ShopinActivity;->is_shot:Z

    return v0
.end method

.method static synthetic access$24(Lcom/example/m6wmr/ShopinActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 69
    iput-object p1, p0, Lcom/example/m6wmr/ShopinActivity;->shopname:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$25(Lcom/example/m6wmr/ShopinActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 69
    iput-object p1, p0, Lcom/example/m6wmr/ShopinActivity;->shopaddr:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$26(Lcom/example/m6wmr/ShopinActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 69
    iput-object p1, p0, Lcom/example/m6wmr/ShopinActivity;->attrid:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$27(Lcom/example/m6wmr/ShopinActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 69
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->attrid:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$28(Lcom/example/m6wmr/ShopinActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 69
    iput-object p1, p0, Lcom/example/m6wmr/ShopinActivity;->phone:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$29(Lcom/example/m6wmr/ShopinActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 75
    iput-object p1, p0, Lcom/example/m6wmr/ShopinActivity;->shopphone:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$3(Lcom/example/m6wmr/ShopinActivity;)Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 71
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->et_shopaddr:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$30(Lcom/example/m6wmr/ShopinActivity;Ljava/util/List;)V
    .locals 0

    .prologue
    .line 72
    iput-object p1, p0, Lcom/example/m6wmr/ShopinActivity;->list:Ljava/util/List;

    return-void
.end method

.method static synthetic access$4(Lcom/example/m6wmr/ShopinActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 61
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->context:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/m6wmr/ShopinActivity;)V
    .locals 0

    .prologue
    .line 577
    invoke-direct {p0}, Lcom/example/m6wmr/ShopinActivity;->submit()V

    return-void
.end method

.method static synthetic access$6(Lcom/example/m6wmr/ShopinActivity;)Lmyapp/MyApp;
    .locals 1

    .prologue
    .line 59
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->m:Lmyapp/MyApp;

    return-object v0
.end method

.method static synthetic access$7(Lcom/example/m6wmr/ShopinActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 69
    iput-object p1, p0, Lcom/example/m6wmr/ShopinActivity;->imgurl:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$8(Lcom/example/m6wmr/ShopinActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 69
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->imgurl:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$9(Lcom/example/m6wmr/ShopinActivity;)Landroid/widget/ImageView;
    .locals 1

    .prologue
    .line 63
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->addphoto:Landroid/widget/ImageView;

    return-object v0
.end method

.method private getshop()V
    .locals 1

    .prologue
    .line 652
    new-instance v0, Lcom/example/m6wmr/ShopinActivity$7;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/ShopinActivity$7;-><init>(Lcom/example/m6wmr/ShopinActivity;)V

    .line 720
    invoke-virtual {v0}, Lcom/example/m6wmr/ShopinActivity$7;->start()V

    .line 721
    return-void
.end method

.method private getshopTel()V
    .locals 1

    .prologue
    .line 727
    new-instance v0, Lcom/example/m6wmr/ShopinActivity$8;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/ShopinActivity$8;-><init>(Lcom/example/m6wmr/ShopinActivity;)V

    .line 767
    invoke-virtual {v0}, Lcom/example/m6wmr/ShopinActivity$8;->start()V

    .line 769
    return-void
.end method

.method private getshopstyle()V
    .locals 1

    .prologue
    .line 775
    new-instance v0, Lcom/example/m6wmr/ShopinActivity$9;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/ShopinActivity$9;-><init>(Lcom/example/m6wmr/ShopinActivity;)V

    .line 842
    invoke-virtual {v0}, Lcom/example/m6wmr/ShopinActivity$9;->start()V

    .line 843
    return-void
.end method

.method private initView()V
    .locals 1

    .prologue
    .line 265
    const v0, 0x7f0c0380

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->addphoto:Landroid/widget/ImageView;

    .line 266
    const v0, 0x7f0c0187

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->iv_sure:Landroid/widget/ImageView;

    .line 267
    const v0, 0x7f0c0379

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->shoplogo:Landroid/widget/ImageView;

    .line 269
    const v0, 0x7f0c0061

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->et_name:Landroid/widget/EditText;

    .line 270
    const v0, 0x7f0c037d

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->et_phone:Landroid/widget/EditText;

    .line 271
    const v0, 0x7f0c009b

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->et_shopname:Landroid/widget/EditText;

    .line 272
    const v0, 0x7f0c037e

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->et_shopaddr:Landroid/widget/EditText;

    .line 273
    const v0, 0x7f0c008e

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->time:Landroid/widget/TextView;

    .line 274
    const v0, 0x7f0c037a

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->time1:Landroid/widget/TextView;

    .line 275
    const v0, 0x7f0c037b

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->time2:Landroid/widget/TextView;

    .line 276
    const v0, 0x7f0c037c

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->tv_phone:Landroid/widget/TextView;

    .line 277
    const v0, 0x7f0c02fb

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->line:Landroid/view/View;

    .line 279
    const v0, 0x7f0c037f

    invoke-super {p0, v0}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Spinner;

    iput-object v0, p0, Lcom/example/m6wmr/ShopinActivity;->sp4:Landroid/widget/Spinner;

    .line 280
    return-void
.end method

.method private submit()V
    .locals 1

    .prologue
    .line 579
    new-instance v0, Lcom/example/m6wmr/ShopinActivity$6;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/ShopinActivity$6;-><init>(Lcom/example/m6wmr/ShopinActivity;)V

    .line 647
    invoke-virtual {v0}, Lcom/example/m6wmr/ShopinActivity$6;->start()V

    .line 648
    return-void
.end method

.method private uploadFile()Z
    .locals 1

    .prologue
    .line 305
    new-instance v0, Lcom/example/m6wmr/ShopinActivity$5;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/ShopinActivity$5;-><init>(Lcom/example/m6wmr/ShopinActivity;)V

    .line 443
    invoke-virtual {v0}, Lcom/example/m6wmr/ShopinActivity$5;->start()V

    .line 444
    const/4 v0, 0x0

    return v0
.end method


# virtual methods
.method public getFileName(Ljava/lang/String;)Ljava/lang/String;
    .locals 4
    .param p1, "pathandname"    # Ljava/lang/String;

    .prologue
    const/4 v3, -0x1

    .line 449
    const-string v2, "/"

    invoke-virtual {p1, v2}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v1

    .line 450
    .local v1, "start":I
    const-string v2, "."

    invoke-virtual {p1, v2}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v0

    .line 451
    .local v0, "end":I
    if-eq v1, v3, :cond_0

    if-eq v0, v3, :cond_0

    .line 452
    add-int/lit8 v2, v1, 0x1

    invoke-virtual {p1, v2, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    .line 454
    :goto_0
    return-object v2

    :cond_0
    const/4 v2, 0x0

    goto :goto_0
.end method

.method public getSpinnerSelName(Ljava/lang/Integer;)Ljava/lang/String;
    .locals 2
    .param p1, "spinnerID"    # Ljava/lang/Integer;

    .prologue
    .line 851
    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Spinner;

    .line 852
    .local v0, "sp":Landroid/widget/Spinner;
    invoke-virtual {v0}, Landroid/widget/Spinner;->getSelectedItem()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/SpinnerData;

    invoke-virtual {v1}, Lbean/SpinnerData;->getText()Ljava/lang/String;

    move-result-object v1

    return-object v1
.end method

.method public getSpinnerSelVal(Ljava/lang/Integer;)Ljava/lang/String;
    .locals 2
    .param p1, "spinnerID"    # Ljava/lang/Integer;

    .prologue
    .line 846
    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Spinner;

    .line 847
    .local v0, "sp":Landroid/widget/Spinner;
    invoke-virtual {v0}, Landroid/widget/Spinner;->getSelectedItem()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/SpinnerData;

    invoke-virtual {v1}, Lbean/SpinnerData;->getValue()Ljava/lang/String;

    move-result-object v1

    return-object v1
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 16
    .param p1, "requestCode"    # I
    .param p2, "resultCode"    # I
    .param p3, "data"    # Landroid/content/Intent;

    .prologue
    .line 461
    invoke-virtual/range {p0 .. p0}, Lcom/example/m6wmr/ShopinActivity;->getContentResolver()Landroid/content/ContentResolver;

    .line 463
    const/16 v13, 0x64

    move/from16 v0, p1

    if-ne v0, v13, :cond_0

    .line 464
    const/4 v13, 0x1

    move/from16 v0, p2

    if-ne v0, v13, :cond_0

    .line 472
    new-instance v8, Landroid/content/Intent;

    .line 473
    const-class v13, Lcom/example/usercenter/UserCenterActivity2;

    .line 472
    move-object/from16 v0, p0

    invoke-direct {v8, v0, v13}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 474
    .local v8, "intent":Landroid/content/Intent;
    move-object/from16 v0, p0

    invoke-virtual {v0, v8}, Lcom/example/m6wmr/ShopinActivity;->startActivity(Landroid/content/Intent;)V

    .line 480
    .end local v8    # "intent":Landroid/content/Intent;
    :cond_0
    packed-switch p1, :pswitch_data_0

    .line 575
    :cond_1
    :goto_0
    :pswitch_0
    invoke-super/range {p0 .. p3}, Landroid/app/Activity;->onActivityResult(IILandroid/content/Intent;)V

    .line 576
    return-void

    .line 483
    :pswitch_1
    if-eqz p3, :cond_1

    .line 485
    const-string v13, ">>>>>>>>>>>>>>"

    const-string v14, "\u76f8\u518c\u8c03\u7528\u56fe\u7247\u8fdb\u5165\u88c1\u526a"

    invoke-static {v13, v14}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 486
    invoke-virtual/range {p3 .. p3}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v13

    move-object/from16 v0, p0

    invoke-virtual {v0, v13}, Lcom/example/m6wmr/ShopinActivity;->startPhotoZoom(Landroid/net/Uri;)V

    goto :goto_0

    .line 492
    :pswitch_2
    new-instance v10, Ljava/io/File;

    new-instance v13, Ljava/lang/StringBuilder;

    invoke-direct {v13}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v14

    invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v13

    .line 493
    const-string v14, "/temp.jpg"

    invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v13

    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    .line 492
    invoke-direct {v10, v13}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 494
    .local v10, "picture":Ljava/io/File;
    invoke-static {v10}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri;

    move-result-object v13

    move-object/from16 v0, p0

    invoke-virtual {v0, v13}, Lcom/example/m6wmr/ShopinActivity;->startPhotoZoom(Landroid/net/Uri;)V

    goto :goto_0

    .line 504
    .end local v10    # "picture":Ljava/io/File;
    :pswitch_3
    const-string v13, "xxxxxxxxxxxxx"

    const-string v14, "xxxxxxxxxxx"

    invoke-static {v13, v14}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 506
    if-eqz p3, :cond_1

    .line 507
    const-string v13, "----------------"

    const-string v14, "xxxxxxxxxxx"

    invoke-static {v13, v14}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 510
    sget-object v13, Ljava/lang/System;->out:Ljava/io/PrintStream;

    const-string v14, "\u4e0a\u4f20\u88c1\u526a\u56fe\u7247"

    invoke-virtual {v13, v14}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 511
    invoke-virtual/range {p3 .. p3}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v3

    .line 512
    .local v3, "extras":Landroid/os/Bundle;
    const-string v13, "data"

    invoke-virtual {v3, v13}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Landroid/graphics/Bitmap;

    .line 514
    .local v9, "myBitmap":Landroid/graphics/Bitmap;
    const/4 v5, 0x0

    .line 517
    .local v5, "fileOutputStream":Ljava/io/FileOutputStream;
    :try_start_0
    new-instance v13, Ljava/lang/StringBuilder;

    invoke-direct {v13}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v14

    invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v13

    .line 518
    const-string v14, "/meitian_photos"

    invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v13

    .line 517
    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v11

    .line 520
    .local v11, "saveDir":Ljava/lang/String;
    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v11}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 521
    .local v1, "dir":Ljava/io/File;
    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v13

    if-nez v13, :cond_2

    .line 522
    invoke-virtual {v1}, Ljava/io/File;->mkdir()Z

    .line 524
    :cond_2
    new-instance v12, Ljava/text/SimpleDateFormat;

    const-string v13, "yyyyMMddssSSS"

    invoke-direct {v12, v13}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    .line 525
    .local v12, "t":Ljava/text/SimpleDateFormat;
    new-instance v13, Ljava/lang/StringBuilder;

    const-string v14, "MT"

    invoke-direct {v13, v14}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    new-instance v14, Ljava/util/Date;

    invoke-direct {v14}, Ljava/util/Date;-><init>()V

    invoke-virtual {v12, v14}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v14

    invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v13

    const-string v14, ".jpg"

    invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v13

    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    .line 527
    .local v7, "filename":Ljava/lang/String;
    new-instance v4, Ljava/io/File;

    invoke-direct {v4, v11, v7}, Ljava/io/File;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 529
    .local v4, "file":Ljava/io/File;
    new-instance v6, Ljava/io/FileOutputStream;

    invoke-direct {v6, v4}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 531
    .end local v5    # "fileOutputStream":Ljava/io/FileOutputStream;
    .local v6, "fileOutputStream":Ljava/io/FileOutputStream;
    :try_start_1
    sget-object v13, Landroid/graphics/Bitmap$CompressFormat;->JPEG:Landroid/graphics/Bitmap$CompressFormat;

    const/16 v14, 0x64

    invoke-virtual {v9, v13, v14, v6}, Landroid/graphics/Bitmap;->compress(Landroid/graphics/Bitmap$CompressFormat;ILjava/io/OutputStream;)Z

    .line 534
    invoke-virtual {v4}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v13

    move-object/from16 v0, p0

    iput-object v13, v0, Lcom/example/m6wmr/ShopinActivity;->UppicPath:Ljava/lang/String;

    .line 535
    const/4 v13, 0x1

    move-object/from16 v0, p0

    iput-boolean v13, v0, Lcom/example/m6wmr/ShopinActivity;->is_shot:Z
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_4
    .catchall {:try_start_1 .. :try_end_1} :catchall_1

    .line 540
    if-eqz v6, :cond_5

    .line 542
    :try_start_2
    invoke-virtual {v6}, Ljava/io/FileOutputStream;->close()V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_3

    move-object v5, v6

    .line 549
    .end local v1    # "dir":Ljava/io/File;
    .end local v4    # "file":Ljava/io/File;
    .end local v6    # "fileOutputStream":Ljava/io/FileOutputStream;
    .end local v7    # "filename":Ljava/lang/String;
    .end local v11    # "saveDir":Ljava/lang/String;
    .end local v12    # "t":Ljava/text/SimpleDateFormat;
    .restart local v5    # "fileOutputStream":Ljava/io/FileOutputStream;
    :cond_3
    :goto_1
    sget-object v13, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v14, Ljava/lang/StringBuilder;

    const-string v15, "\u9009\u62e9\u76f8\u7247\u8def\u5f84:"

    invoke-direct {v14, v15}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, p0

    iget-object v15, v0, Lcom/example/m6wmr/ShopinActivity;->UppicPath:Ljava/lang/String;

    invoke-virtual {v14, v15}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v14

    invoke-virtual {v14}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v14

    invoke-virtual {v13, v14}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 550
    move-object/from16 v0, p0

    iget-object v13, v0, Lcom/example/m6wmr/ShopinActivity;->UppicPath:Ljava/lang/String;

    if-eqz v13, :cond_1

    .line 553
    move-object/from16 v0, p0

    iget-object v13, v0, Lcom/example/m6wmr/ShopinActivity;->context:Landroid/content/Context;

    const-string v14, "\u4e0a\u4f20\u56fe\u7247"

    const-string v15, "\u8bf7\u7b49\u5f85.."

    invoke-static {v13, v14, v15}, Lmyapp/Util;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 554
    invoke-direct/range {p0 .. p0}, Lcom/example/m6wmr/ShopinActivity;->uploadFile()Z

    goto/16 :goto_0

    .line 537
    :catch_0
    move-exception v2

    .line 538
    .local v2, "e":Ljava/lang/Exception;
    :goto_2
    :try_start_3
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    .line 540
    if-eqz v5, :cond_3

    .line 542
    :try_start_4
    invoke-virtual {v5}, Ljava/io/FileOutputStream;->close()V
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_1

    goto :goto_1

    .line 543
    :catch_1
    move-exception v2

    .line 544
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_1

    .line 539
    .end local v2    # "e":Ljava/lang/Exception;
    :catchall_0
    move-exception v13

    .line 540
    :goto_3
    if-eqz v5, :cond_4

    .line 542
    :try_start_5
    invoke-virtual {v5}, Ljava/io/FileOutputStream;->close()V
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_2

    .line 547
    :cond_4
    :goto_4
    throw v13

    .line 543
    :catch_2
    move-exception v2

    .line 544
    .restart local v2    # "e":Ljava/lang/Exception;
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_4

    .line 543
    .end local v2    # "e":Ljava/lang/Exception;
    .end local v5    # "fileOutputStream":Ljava/io/FileOutputStream;
    .restart local v1    # "dir":Ljava/io/File;
    .restart local v4    # "file":Ljava/io/File;
    .restart local v6    # "fileOutputStream":Ljava/io/FileOutputStream;
    .restart local v7    # "filename":Ljava/lang/String;
    .restart local v11    # "saveDir":Ljava/lang/String;
    .restart local v12    # "t":Ljava/text/SimpleDateFormat;
    :catch_3
    move-exception v2

    .line 544
    .restart local v2    # "e":Ljava/lang/Exception;
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    .end local v2    # "e":Ljava/lang/Exception;
    :cond_5
    move-object v5, v6

    .end local v6    # "fileOutputStream":Ljava/io/FileOutputStream;
    .restart local v5    # "fileOutputStream":Ljava/io/FileOutputStream;
    goto :goto_1

    .line 539
    .end local v5    # "fileOutputStream":Ljava/io/FileOutputStream;
    .restart local v6    # "fileOutputStream":Ljava/io/FileOutputStream;
    :catchall_1
    move-exception v13

    move-object v5, v6

    .end local v6    # "fileOutputStream":Ljava/io/FileOutputStream;
    .restart local v5    # "fileOutputStream":Ljava/io/FileOutputStream;
    goto :goto_3

    .line 537
    .end local v5    # "fileOutputStream":Ljava/io/FileOutputStream;
    .restart local v6    # "fileOutputStream":Ljava/io/FileOutputStream;
    :catch_4
    move-exception v2

    move-object v5, v6

    .end local v6    # "fileOutputStream":Ljava/io/FileOutputStream;
    .restart local v5    # "fileOutputStream":Ljava/io/FileOutputStream;
    goto :goto_2

    .line 480
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_2
        :pswitch_0
        :pswitch_3
        :pswitch_0
        :pswitch_0
    .end packed-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    const v4, 0x7f070026

    .line 80
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 82
    const v2, 0x7f0300c3

    invoke-virtual {p0, v2}, Lcom/example/m6wmr/ShopinActivity;->setContentView(I)V

    .line 83
    invoke-direct {p0}, Lcom/example/m6wmr/ShopinActivity;->initView()V

    .line 84
    iput-object p0, p0, Lcom/example/m6wmr/ShopinActivity;->context:Landroid/content/Context;

    .line 85
    invoke-virtual {p0}, Lcom/example/m6wmr/ShopinActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    check-cast v2, Lmyapp/MyApp;

    iput-object v2, p0, Lcom/example/m6wmr/ShopinActivity;->m:Lmyapp/MyApp;

    .line 87
    const/high16 v2, 0x7f0c0000

    invoke-virtual {p0, v2}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    .line 88
    .local v1, "top":Landroid/widget/LinearLayout;
    iget-object v2, p0, Lcom/example/m6wmr/ShopinActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v2}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v2

    const-string v3, "1"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 89
    invoke-virtual {v1, v4}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 90
    iget-object v2, p0, Lcom/example/m6wmr/ShopinActivity;->iv_sure:Landroid/widget/ImageView;

    const v3, 0x7f020018

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 91
    iget-object v2, p0, Lcom/example/m6wmr/ShopinActivity;->time:Landroid/widget/TextView;

    const v3, -0xd53e87

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

    .line 92
    iget-object v2, p0, Lcom/example/m6wmr/ShopinActivity;->shoplogo:Landroid/widget/ImageView;

    const v3, 0x7f020027

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 93
    iget-object v2, p0, Lcom/example/m6wmr/ShopinActivity;->line:Landroid/view/View;

    invoke-virtual {v2, v4}, Landroid/view/View;->setBackgroundResource(I)V

    .line 95
    :cond_0
    const v2, 0x7f0c0098

    invoke-virtual {p0, v2}, Lcom/example/m6wmr/ShopinActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    .line 96
    .local v0, "closebtn":Landroid/widget/ImageView;
    new-instance v2, Lcom/example/m6wmr/ShopinActivity$1;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/ShopinActivity$1;-><init>(Lcom/example/m6wmr/ShopinActivity;)V

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 103
    iget-object v2, p0, Lcom/example/m6wmr/ShopinActivity;->iv_sure:Landroid/widget/ImageView;

    new-instance v3, Lcom/example/m6wmr/ShopinActivity$2;

    invoke-direct {v3, p0}, Lcom/example/m6wmr/ShopinActivity$2;-><init>(Lcom/example/m6wmr/ShopinActivity;)V

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 114
    iget-object v2, p0, Lcom/example/m6wmr/ShopinActivity;->addphoto:Landroid/widget/ImageView;

    new-instance v3, Lcom/example/m6wmr/ShopinActivity$3;

    invoke-direct {v3, p0}, Lcom/example/m6wmr/ShopinActivity$3;-><init>(Lcom/example/m6wmr/ShopinActivity;)V

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 156
    new-instance v2, Lcom/example/m6wmr/ShopinActivity$4;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/ShopinActivity$4;-><init>(Lcom/example/m6wmr/ShopinActivity;)V

    iput-object v2, p0, Lcom/example/m6wmr/ShopinActivity;->h:Landroid/os/Handler;

    .line 250
    invoke-direct {p0}, Lcom/example/m6wmr/ShopinActivity;->getshop()V

    .line 251
    invoke-direct {p0}, Lcom/example/m6wmr/ShopinActivity;->getshopstyle()V

    .line 252
    invoke-direct {p0}, Lcom/example/m6wmr/ShopinActivity;->getshopTel()V

    .line 253
    return-void
.end method

.method public startPhotoZoom(Landroid/net/Uri;)V
    .locals 5
    .param p1, "uri"    # Landroid/net/Uri;

    .prologue
    const/16 v4, 0x96

    const/4 v3, 0x1

    .line 289
    new-instance v0, Landroid/content/Intent;

    const-string v1, "com.android.camera.action.CROP"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 290
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "image/*"

    invoke-virtual {v0, p1, v1}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 292
    const-string v1, "crop"

    const-string v2, "true"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 294
    const-string v1, "aspectX"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 295
    const-string v1, "aspectY"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 297
    const-string v1, "outputX"

    invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 298
    const-string v1, "outputY"

    invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 299
    const-string v1, "return-data"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 300
    const/4 v1, 0x3

    invoke-virtual {p0, v0, v1}, Lcom/example/m6wmr/ShopinActivity;->startActivityForResult(Landroid/content/Intent;I)V

    .line 301
    return-void
.end method

.method public waitlogin()V
    .locals 2

    .prologue
    .line 257
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 258
    .local v0, "intent":Landroid/content/Intent;
    const-class v1, Lcom/example/m6wmr/LoginActivity;

    invoke-virtual {v0, p0, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 259
    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ShopinActivity;->startActivity(Landroid/content/Intent;)V

    .line 261
    return-void
.end method
